// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'  //引入

//axios的配置
import axios from "axios"
Vue.prototype.$axios = axios;

//配置element UI
import Element from "element-ui"
import "element-ui/lib/theme-chalk/index.css"
Vue.use(Element);
Vue.config.productionTip = false;

// import settings from "./settings"

//导入极验
import "../static/js/gt.js"

//导入css样式,全局
import "../static/css/global.css"

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,   //注册
    components: {App},
    template: '<App/>'
});

require('video.js/dist/video-js.css');
require('vue-video-player/src/custom-theme.css');
import VideoPlayer from 'vue-video-player'

Vue.use(VideoPlayer);
